package cn.sangyy.car.service;

import cn.sangyy.basic.utils.AjaxResult;
import cn.sangyy.basic.utils.PageList;
import cn.sangyy.car.domain.Car;
import cn.sangyy.car.query.CarQuery;
import cn.sangyy.org.domain.Employee;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sangyangyang
 * @since 2023-05-26
 */
public interface ICarService extends IService<Car> {

    PageList<Car> getPageList(CarQuery query);

    void insert(Car car, Employee employee);

    AjaxResult updateCar(Car car);

    String batchOnSale(List<Long> ids,Employee loginUser);

    void batchOffSale(List<Long> ids,Employee loginUser);
}
